package com.lagou.edu.dao;


import com.lagou.edu.pojo.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UserDao extends JpaRepository<UserInfo,Long> {

    UserInfo findByEmail(String email);
}
